package com.hy.study.demo.complexquerydemo.dao;

import com.hy.study.demo.complexquerydemo.bean.dao.DaqsOrganizationDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrganizationDao {
    /**
     * 根据条件查询数据
     * @param condition
     * @return
     */
    List<DaqsOrganizationDTO> searchOrganization(@Param("condition") String condition,@Param("bean") DaqsOrganizationDTO dto);

     List<DaqsOrganizationDTO> searchDaqsOrganization(@Param("bean") DaqsOrganizationDTO daqsOrganizationDTO);
}
